Migrate the AppComplianceAutomation to support new MPG#55336
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request migrates the Azure.ResourceManager.AppComplianceAutomation SDK to support the new Management Plane Generator (MPG). The migration involves regenerating code using TypeSpec-based tooling, updating generated patterns to align with the new generator, and adding backward compatibility customizations for existing public APIs.
Changes:
- Adds
tsp-location.yamlconfiguration file for TypeSpec-based code generation - Updates generated code patterns including serialization, constructors, and internal utilities
- Removes
nullparameter fromGetAllAsync()call in tests to match new API signature - Adds custom collection classes to maintain backward compatibility with existing method signatures
- Updates project configuration and asset references
Reviewed changes
Copilot reviewed 12 out of 245 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tsp-location.yaml | New TypeSpec configuration file defining spec location and generation settings |
| SnapshotTests.cs | Updated test to remove null parameter from GetAllAsync() call |
| Sample_*.cs (13 files) | Removed auto-generated comments from sample files |
| Generated/Models/*.cs (100+ files) | Updated model classes with new serialization patterns and field naming |
| Generated/Internal/*.cs (20+ files) | Added new internal utility classes for serialization and pagination |
| Generated/LongRunningOperation/*.cs (6 files) | Updated operation source classes with new patterns |
| Generated/CollectionResults/*.cs (2 files) | Added new collection result classes for pagination |
| Generated/*Resource.Serialization.cs (5 files) | Updated resource serialization implementation |
| Generated/*Data.cs (2 files) | Updated data class constructors and field ordering |
| Custom/*.cs (8 files) | Added backward compatibility customizations for collection methods |
| Azure.ResourceManager.AppComplianceAutomation.csproj | Removed obsolete IncludeAutorestDependency property |
| metadata.json | Added API version metadata |
| assets.json | Updated asset tag reference |
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
9 tasks
live1206
approved these changes
Jan 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #54710
Spec PR: Azure/azure-rest-api-specs#40032
Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.